package com.qr.bean.wmyh;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:02:46
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_commission_list", description = "用户佣金明细表")
@TableName(value = "jbr_user_commission_list")
public class JbrUserCommissionListView implements Serializable {
	@ApiModelProperty(value = "结算明细id")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "结算明细id不能为空")
	private Integer id;
	@ApiModelProperty(value = "用户id")
	@TableField(value="user_id")
	@NotNull(message = "用户id不能为空")
	private Integer user_id;
	@ApiModelProperty(value = "子订单id")
	@TableField(value="sub_order_id")
	private Integer sub_order_id;
	@ApiModelProperty(value = "子订单编号")
	@TableField(value="sub_order_num")
	private String sub_order_num;
	@ApiModelProperty(value = "1一级返佣 2二级返佣 3三级返佣")
	@TableField(value="level")
	private Integer level;
	@ApiModelProperty(value = "提现id")
	@TableField(value="apply_id")
	private Integer apply_id;
	@ApiModelProperty(value = "售后单id")
	@TableField(value="service_id")
	private Integer service_id;
	@ApiModelProperty(value = "金额 正为收入 负为支出")
	@TableField(value="trade_commission")
	private BigDecimal trade_commission;
	@ApiModelProperty(value = "结算类型 1下单收入 2退款支出 3提现支出")
	@TableField(value="type")
	private Long type;
	@ApiModelProperty(value = "状态 0待结算 1已结算 2已取消")
	@TableField(value="status")
	private Long status;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="add_time")
	@NotNull(message = "创建时间不能为空")
	private Timestamp add_time;
	@ApiModelProperty(value = "结算时间")
	@TableField(value="settlement_time")
	private Timestamp settlement_time;
	@ApiModelProperty(value = "备注")
	@TableField(value="remark")
	private String remark;
	@ApiModelProperty(value = "汇总id")
	@TableField(value="commission_id")
	private Integer commission_id;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getSub_order_id() {
		return sub_order_id;
	}
	public void setSub_order_id(Integer sub_order_id) {
		this.sub_order_id = sub_order_id;
	}
 
	public String getSub_order_num() {
		return sub_order_num;
	}
	public void setSub_order_num(String sub_order_num) {
		this.sub_order_num = sub_order_num;
	}
 
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
 
	public Integer getApply_id() {
		return apply_id;
	}
	public void setApply_id(Integer apply_id) {
		this.apply_id = apply_id;
	}
 
	public Integer getService_id() {
		return service_id;
	}
	public void setService_id(Integer service_id) {
		this.service_id = service_id;
	}
 
	public BigDecimal getTrade_commission() {
		return trade_commission;
	}
	public void setTrade_commission(BigDecimal trade_commission) {
		this.trade_commission = trade_commission;
	}
 
	public Long getType() {
		return type;
	}
	public void setType(Long type) {
		this.type = type;
	}
 
	public Long getStatus() {
		return status;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
 
	public Timestamp getSettlement_time() {
		return settlement_time;
	}
	public void setSettlement_time(Timestamp settlement_time) {
		this.settlement_time = settlement_time;
	}
 
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
 
	public Integer getCommission_id() {
		return commission_id;
	}
	public void setCommission_id(Integer commission_id) {
		this.commission_id = commission_id;
	}

}